package cn.zhonghuanzhiyuan.sprc.basicinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 企业安全许可证(SafeLicense)实体类
 *
 * @author david
 * @since 2024-02-27 18:53:52
 */
@Data
@Accessors(chain = true)
@Table(name = "safe_license")
@ApiModel(value = "SafeLicense", description = "企业安全许可证")
public class SafeLicense implements Serializable {
    private static final long serialVersionUID = -72573159877871291L;
    /**
    * 编号
    */
    @ApiModelProperty(value = "编号")
    @Id
    private String id;
    /**
    * 许可项目 xkzzqk-licensed_project-text
    */
    @ApiModelProperty(value = "许可项目 xkzzqk-licensed_project-text")
    private String licensedProject;
    /**
    * 许可证号 xkzzqk-licensed_number-text
    */
    @ApiModelProperty(value = "许可证号 xkzzqk-licensed_number-text")
    private String licensedNo;
    /**
    * 发证机关 xkzzqk-issue_authority-text
    */
    @ApiModelProperty(value = "发证机关 xkzzqk-issue_authority-text")
    private String issueUnit;
    /**
    * 证书状态 xkzzqk-certificate_status-text
    */
    @ApiModelProperty(value = "证书状态 xkzzqk-certificate_status-text")
    private String status;
    /**
    * 许可范围 xkzzqk-license_range-text
    */
    @ApiModelProperty(value = "许可范围 xkzzqk-license_range-text")
    private String licensedScope;
    /**
    * 行政许可标识 xkzzqk-admi_lice_id-text
    */
    @ApiModelProperty(value = "行政许可标识 xkzzqk-admi_lice_id-text")
    private String admnLicenseId;
    /**
    * 许可类型 xkzzqk-admi_lice_type_code-text
    */
    @ApiModelProperty(value = "许可类型 xkzzqk-admi_lice_type_code-text")
    private String type;
    /**
    * 发证日期 xkzzqk-issue_certificate_date-timestamp
    */
    @ApiModelProperty(value = "发证日期 xkzzqk-issue_certificate_date-timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date issueDate;
    /**
    * 有效期限 xkzzqk-validity_period-timestamp
    */
    @ApiModelProperty(value = "有效期限 xkzzqk-validity_period-timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date validityDate;
    /**
    * 有效期限类型 xkzzqk-limit_type-text
    */
    @ApiModelProperty(value = "有效期限类型 xkzzqk-limit_type-text")
    private String validityType;
    /**
    * 撤销日期 xkzzqk-revocation_date-text
    */
    @ApiModelProperty(value = "撤销日期 xkzzqk-revocation_date-text")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date revokeDate;
    /**
    * 备注 xkzzqk-remark-text
    */
    @ApiModelProperty(value = "备注 xkzzqk-remark-text")
    private String remark;
    /**
    * 项目负责人
    */
    @ApiModelProperty(value = "项目负责人")
    private String projectManagerName;
    /**
    * 项目负责人电话
    */
    @ApiModelProperty(value = "项目负责人电话")
    private String projectManagerPhone;
    /**
    * 审核状态
    */
    @ApiModelProperty(value = "审核状态")
    private String auditStatus;
    /**
    * 审核时间
    */
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date auditDate;
    /**
    * 园区标识
    */
    @ApiModelProperty(value = "园区标识")
    private String parkId;
    /**
    * 所属单位
    */
    @ApiModelProperty(value = "所属单位")
    private String orgId;
    /**
    * 排序号
    */
    @ApiModelProperty(value = "排序号")
    private Integer sort;
    /**
    * 更新人
    */
    @ApiModelProperty(value = "更新人")
    private String updateUser;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    private String createUser;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

}
